`define MAIN_IDLE           5'b00001
`define MAIN_LOOKUP         5'b00010 
`define MAIN_MISS           5'b00100 
`define MAIN_REPLACE        5'b01000
`define MAIN_REFILL         5'b10000 

`define WRITE_BUFFER_IDLE   2'b01 
`define WRITE_BUFFER_WRITE  2'b10 